import request from '@/utils/request'
const prefix = '/cecapitalexpend'

export function findByIdFn(id) {
  return request({
    url: `${prefix}/receiptprint/${id}`,
    method: 'GET'
  })
}
export function edit(data) {
  return request({
    url: `${prefix}/receiptprint`,
    method: 'POST',
    data
  })
}
export function queryList(data, page, size) {
  return request({
    url: `${prefix}/receiptprint/search/${page}/${size}`,
    method: 'POST',
    data
  })
}

export function queryTypeList(data) {
  return request({
    url: `${prefix}/receipttype/search`,
    method: 'POST',
    data
  })
}
